package org.insidesource.flexbugs.dao;

import java.util.List;

import org.insidesource.flexbugs.model.Comment;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface CommentDao
{
	void save(Comment comment);
	Comment get(Long id);
	void remove(Long id);
	
	List<Comment> getCommentsByIssueId(Long issueId);
	void deleteAllCommentsForIssueId(Long issueId);
}
